tests/test-gpg-verify-result: Allow specifying signature files
authorDan Nicholson <nicholson@endlessm.com>
Thu, 20 Jun 2019 14:32:13 +0000 (09:32 -0500)
committerDan Nicholson <nicholson@endlessm.com>
Fri, 24 Jan 2020 20:02:09 +0000 (13:02 -0700)
commit2c24f28ce45fe9c416650f004e30bcb97c76e0f0
treefc82f2a967e50fd1f9548beacc51562fc3b02318
parentb786d1b4bc124e43b1f72d7a519845f7ec05c713
tests/test-gpg-verify-result: Allow specifying signature files

Currently tests are always run against the full lgpl2.sig file with all
signatures, but it should also be possible to specify one or more of the
individual lgpgl2.sig<N> files.

Drop the current usage of passing the signature index in the test data
since it's always specific to the test function and instead provide an
optional array of signature files for the test fixture to sign with.
tests/test-gpg-verify-result.c